import type { ProColumns } from '@ant-design/pro-table';

export type columnsDataType = {
  positionGrade: number;
  contractNo: string;
  metadataNo: string;
  tokenId: string;
  createBy: string;
  createTime: string;
};

const columnsData: ProColumns<columnsDataType>[] = [
  // table里面的内容
  {
    title: '序号',
    dataIndex: 'order',
    valueType: 'indexBorder',
    hideInSearch: true,
    width: 50,
    fixed: 'left',
  },
  {
    title: '身份等级',
    dataIndex: 'positionGrade',
    hideInSearch: true,
    width: 160,
    fixed: 'left',
  },
  {
    title: '合约编号',
    dataIndex: 'contractNo',
    hideInSearch: true,
    width: 160,
  },
  {
    title: '元数据编号',
    dataIndex: 'metadataNo',
    hideInSearch: true,
    width: 160,
  },
  {
    title: '链标识',
    dataIndex: 'metaDataNo',
    hideInSearch: true,
    width: 160,
  },
  {
    title: '创建人',
    dataIndex: 'createBy',
    hideInSearch: true,
    width: 160,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    hideInSearch: true,
    width: 200,
  },
];

export default columnsData;
